package com.adun.springsecurityoauth2demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


/**
 *
 * http://localhost:8080/oauth/authorize?response_type=code&client_id=client&redirect_uri=http://www.baidu.com&scope=all
 *
 * 客户端<====>授权服务器
 *      授权码
 *
 *        授权码
 * 客户端<======>资源服务器
 *         token
 *
 */

@SpringBootApplication
public class Springsecurityoauth2DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(Springsecurityoauth2DemoApplication.class, args);
    }

}
